package GUILayer;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.border.TitledBorder;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.JScrollBar;
import javax.swing.JTextPane;

public class Varer extends JFrame {

	private JPanel contentPane;
	private JTextField txtNavnText;
	private JTextField txtTypeText;
	private JTextField txtPrisText;
	private JTextField txtIdnavnText;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Varer frame = new Varer();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Varer() {
		setTitle("Varer");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 798, 599);
		contentPane = new JPanel();
		contentPane.setBackground(Color.LIGHT_GRAY);
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBorder(new TitledBorder(null, "Oprettelse/opdatering af varer", TitledBorder.CENTER, TitledBorder.TOP, null, null));
		panel.setBounds(12, 25, 281, 516);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("Navn");
		lblNewLabel.setBounds(40, 41, 56, 16);
		panel.add(lblNewLabel);
		
		txtNavnText = new JTextField();
		txtNavnText.setText("navn text");
		txtNavnText.setToolTipText("Indtast varens navn");
		txtNavnText.setBounds(40, 59, 181, 22);
		panel.add(txtNavnText);
		txtNavnText.setColumns(10);
		
		JLabel lblNewLabel_1 = new JLabel("Type");
		lblNewLabel_1.setBounds(40, 99, 56, 16);
		panel.add(lblNewLabel_1);
		
		txtTypeText = new JTextField();
		txtTypeText.setText("type text");
		txtTypeText.setToolTipText("Indtast varens type");
		txtTypeText.setBounds(40, 116, 181, 22);
		panel.add(txtTypeText);
		txtTypeText.setColumns(10);
		
		JLabel lblNewLabel_2 = new JLabel("Pris");
		lblNewLabel_2.setBounds(40, 157, 56, 16);
		panel.add(lblNewLabel_2);
		
		txtPrisText = new JTextField();
		txtPrisText.setText("pris text");
		txtPrisText.setToolTipText("Indtast varens pris");
		txtPrisText.setBounds(40, 173, 181, 22);
		panel.add(txtPrisText);
		txtPrisText.setColumns(10);
		
		JLabel lblDkk = new JLabel("DKK");
		lblDkk.setBounds(233, 179, 56, 16);
		panel.add(lblDkk);
		
		JButton itemCreateItemButton = new JButton("Tilf\u00F8j vare");
		itemCreateItemButton.setBounds(23, 374, 97, 25);
		panel.add(itemCreateItemButton);
		
		JButton itemUpdateItemButton_1 = new JButton("Opdater vare");
		itemUpdateItemButton_1.setBounds(146, 374, 107, 25);
		panel.add(itemUpdateItemButton_1);
		
		JPanel panel_1 = new JPanel();
		panel_1.setBorder(new TitledBorder(null, "Registrerede varer ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel_1.setBounds(305, 25, 463, 516);
		contentPane.add(panel_1);
		panel_1.setLayout(null);
		
		JLabel lblNewLabel_3 = new JLabel("Find registrerede varer via id eller navn - label");
		lblNewLabel_3.setBounds(12, 41, 238, 16);
		panel_1.add(lblNewLabel_3);
		
		txtIdnavnText = new JTextField();
		txtIdnavnText.setText("id/navn text");
		txtIdnavnText.setBounds(12, 59, 305, 22);
		panel_1.add(txtIdnavnText);
		txtIdnavnText.setColumns(10);
		
		JButton ietmFindItemButton = new JButton("Find vare");
		ietmFindItemButton.setBounds(354, 58, 97, 25);
		panel_1.add(ietmFindItemButton);
		
		JButton itemDeleteItemButton = new JButton("Slet vare");
		itemDeleteItemButton.setBounds(354, 478, 97, 25);
		panel_1.add(itemDeleteItemButton);
		
		JScrollBar scrollBar = new JScrollBar();
		scrollBar.setBounds(430, 117, 21, 299);
		panel_1.add(scrollBar);
		
		JTextPane txtpnItemlistitemText = new JTextPane();
		txtpnItemlistitemText.setText("itemListItem text");
		txtpnItemlistitemText.setBounds(12, 118, 419, 298);
		panel_1.add(txtpnItemlistitemText);
	}
}
=======
package GUILayer;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.border.TitledBorder;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.JScrollBar;
import javax.swing.JTextPane;

public class Varer extends JFrame {

	private JPanel contentPane;
	private JTextField txtNavnText;
	private JTextField txtTypeText;
	private JTextField txtPrisText;
	private JTextField txtIdnavnText;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Varer frame = new Varer();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Varer() {
		setTitle("Varer");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 798, 599);
		contentPane = new JPanel();
		contentPane.setBackground(Color.LIGHT_GRAY);
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBorder(new TitledBorder(null, "Oprettelse/opdatering af varer", TitledBorder.CENTER, TitledBorder.TOP, null, null));
		panel.setBounds(12, 25, 281, 516);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("Navn");
		lblNewLabel.setBounds(40, 41, 56, 16);
		panel.add(lblNewLabel);
		
		txtNavnText = new JTextField();
		txtNavnText.setText("navn text");
		txtNavnText.setToolTipText("Indtast varens navn");
		txtNavnText.setBounds(40, 59, 181, 22);
		panel.add(txtNavnText);
		txtNavnText.setColumns(10);
		
		JLabel lblNewLabel_1 = new JLabel("Type");
		lblNewLabel_1.setBounds(40, 99, 56, 16);
		panel.add(lblNewLabel_1);
		
		txtTypeText = new JTextField();
		txtTypeText.setText("type text");
		txtTypeText.setToolTipText("Indtast varens type");
		txtTypeText.setBounds(40, 116, 181, 22);
		panel.add(txtTypeText);
		txtTypeText.setColumns(10);
		
		JLabel lblNewLabel_2 = new JLabel("Pris");
		lblNewLabel_2.setBounds(40, 157, 56, 16);
		panel.add(lblNewLabel_2);
		
		txtPrisText = new JTextField();
		txtPrisText.setText("pris text");
		txtPrisText.setToolTipText("Indtast varens pris");
		txtPrisText.setBounds(40, 173, 181, 22);
		panel.add(txtPrisText);
		txtPrisText.setColumns(10);
		
		JLabel lblDkk = new JLabel("DKK");
		lblDkk.setBounds(233, 179, 56, 16);
		panel.add(lblDkk);
		
		JButton itemCreateItemButton = new JButton("Tilf\u00F8j vare");
		itemCreateItemButton.setBounds(12, 478, 97, 25);
		panel.add(itemCreateItemButton);
		
		JButton itemUpdateItemButton_1 = new JButton("Opdater vare");
		itemUpdateItemButton_1.setBounds(162, 478, 107, 25);
		panel.add(itemUpdateItemButton_1);
		
		JPanel panel_1 = new JPanel();
		panel_1.setBorder(new TitledBorder(null, "Registrerede varer ", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel_1.setBounds(305, 25, 463, 516);
		contentPane.add(panel_1);
		panel_1.setLayout(null);
		
		JLabel lblNewLabel_3 = new JLabel("Find registrerede varer via id eller navn - label");
		lblNewLabel_3.setBounds(12, 41, 238, 16);
		panel_1.add(lblNewLabel_3);
		
		txtIdnavnText = new JTextField();
		txtIdnavnText.setText("id/navn text");
		txtIdnavnText.setBounds(12, 59, 305, 22);
		panel_1.add(txtIdnavnText);
		txtIdnavnText.setColumns(10);
		
		JButton ietmFindItemButton = new JButton("Find vare");
		ietmFindItemButton.setBounds(354, 58, 97, 25);
		panel_1.add(ietmFindItemButton);
		
		JButton itemDeleteItemButton = new JButton("Slet vare");
		itemDeleteItemButton.setBounds(354, 478, 97, 25);
		panel_1.add(itemDeleteItemButton);
		
		JScrollBar scrollBar = new JScrollBar();
		scrollBar.setBounds(430, 117, 21, 299);
		panel_1.add(scrollBar);
		
		JTextPane txtpnItemlistitemText = new JTextPane();
		txtpnItemlistitemText.setText("itemListItem text");
		txtpnItemlistitemText.setBounds(12, 118, 419, 298);
		panel_1.add(txtpnItemlistitemText);
	}
}
>>>>>>> .r93
